<html>
<body>
<script type="text/javascript" src="tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
    mode : "textareas",
    theme : "advanced",
    theme_advanced_buttons1 : "mybutton,bold,italic,underline,separator,strikethrough,forecolor,backcolor,cleanup,code,fullscreen",
    theme_advanced_buttons2 : "",
    theme_advanced_buttons3 : "",
    theme_advanced_toolbar_location : "top",
    theme_advanced_toolbar_align : "left",
    theme_advanced_path : false,

    plugins : 'inlinepopups,fullscreen',
    setup : function(ed) {
        // Add a custom button
        ed.addButton('mybutton', {
            title : 'mybutton',
            image : 'img/example.gif',
            onclick : function() {
                ed.focus();
                ed.selection.setContent('<span style="color:red;text-decoration:underline">' + ed.selection.getContent() + '</span>');
            }
        });
    }
});
</script>

<form method="post" action="somepage">
        <textarea name="content" style="width:100%">
        </textarea>
	<textarea></textarea>
</form>
</body>
</html>